package com.hsh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * excel 内容表
 * </p>
 *
 * @author 黄思海
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_excel_content")
@ApiModel(value="SysExcelContent对象", description="excel 内容表")
public class SysExcelContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "pk")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "所属那个excel模板")
    private Long excelTemplateId;

    @ApiModelProperty(value = "用户 ID")
    private Long userId;

    @ApiModelProperty(value = "单元格内容名称")
    private String cellContent;

    @ApiModelProperty(value = "excel 的单元格的地址")
    private String  cellAddress;

    @ApiModelProperty(value = "行索引(第一行为0) Row index (first row is 0)")
    @TableField("_row")
    private Integer  row;

    @ApiModelProperty(value = "列索引(第一行为0)Column index (first column is 0)")
    @TableField("_col")
    private Integer  col;



}
